package com.tangzx.builder.abc.string;

import com.tangzx.builder.abc.AbcElement;

public class AbcString extends AbcElement{

	public static AbcString get(String value) {
		AbcString as = new AbcString(value);
		return as;
	}
	
	public AbcString(String value) {
		vo.setValue(value);
	}
	
	public StringVo vo = new StringVo();
	public int index;
	@Override
	public String toString() {
		return vo.toString();
	}
	
	@Override
	public boolean equals(Object t) {
		AbcString target = (AbcString)t;
		if (target != null)
			return toString().equals(target.toString());
		return false;
	}
	
	@Override
	public void setCanMix(boolean b) {
		vo.setCanNotMix();
	}
}
